using UnityEngine;
using System.Collections;

public class Thief : Personnage
{

    private Texture2D image;

    public Texture2D Image
    {
        get { return image; }
    }
	
    public Thief(int id, string nom, int health, int shield, int ressource, Spells CurrentSpell, Texture2D image)
        : base(id, nom, health, shield, ressource, CurrentSpell)
    {
        this.image = image;
    }
	public override void EndRound(){
		nbRessource=100;
		Debug.LogWarning("100 Energie pour le Thief a la fin du Round !!! Il se retrouve a "+this.nbRessource+" d'energie.");
	}
	public override string ToString ()
	{
		return string.Format ("[Thief: id={0}, NbRessource={1}, nom={2}]", id, NbRessource, nom);
	}
}